package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡监测文件任务记录
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_file_task")
@ApiModel(value="SlopeFileTask对象", description="边坡监测文件任务记录")
public class SlopeFileTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文件名称")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty(value = "设备SN")
    @TableField("device_sn")
    private String deviceSn;

    @ApiModelProperty(value = "操作用户")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "生成时间")
    @TableField("generate_time")
    private LocalDateTime generateTime;

    @ApiModelProperty(value = "生成状态（例如：0未生成，1已生成）")
    @TableField("generate_status")
    private Integer generateStatus;

    @ApiModelProperty(value = "数据类型")
    @TableField("data_type")
    private String dataType;

    @ApiModelProperty(value = "所属部门ID")
    @TableField("dept_id")
    private Long deptId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "删除标志（0代表存在，1代表删除）")
    @TableField("del_flag")
    private Integer delFlag;


}
